package com.linran.webjsonrsp.bean.exception;

import com.linran.webjsonrsp.bean.ResultStatus;
import lombok.Getter;
import org.springframework.http.HttpStatus;

@Getter
public class ResultException extends RuntimeException {
    ResultStatus resultStatus = ResultStatus.INTERNAL_SERVER_ERROR;

    public ResultException() {
    }

    public ResultException(String message) {
        super(message);
    }

    public ResultException(String message, Throwable cause) {
        super(message, cause);
    }

    public ResultException(Throwable cause) {
        super(cause);
    }

    public ResultException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
